Optimal. Leaf size=153 \[ -\frac{15 \left (b^2-4 a c\right ) (b+2 c x) \sqrt{a+b x+c x^2}}{256 c^3 d^2}+\frac{15 \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{512 c^{7/2} d^2}+\frac{5 (b+2 c x) \left (a+b x+c x^2\right )^{3/2}}{32 c^2 d^2}-\frac{\left (a+b x+c x^2\right )^{5/2}}{2 c d^2 (b+2 c x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.064322, antiderivative size = 153, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {684, 612, 621, 206} \[ -\frac{15 \left (b^2-4 a c\right ) (b+2 c x) \sqrt{a+b x+c x^2}}{256 c^3 d^2}+\frac{15 \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{512 c^{7/2} d^2}+\frac{5 (b+2 c x) \left (a+b x+c x^2\right )^{3/2}}{32 c^2 d^2}-\frac{\left (a+b x+c x^2\right )^{5/2}}{2 c d^2 (b+2 c x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 684
Rule 612
Rule 621
Rule 206
Rubi steps
\begin{align*} \int \frac{\left (a+b x+c x^2\right )^{5/2}}{(b d+2 c d x)^2} \, dx &=-\frac{\left (a+b x+c x^2\right )^{5/2}}{2 c d^2 (b+2 c x)}+\frac{5 \int \left (a+b x+c x^2\right )^{3/2} \, dx}{4 c d^2}\\ &=\frac{5 (b+2 c x) \left (a+b x+c x^2\right )^{3/2}}{32 c^2 d^2}-\frac{\left (a+b x+c x^2\right )^{5/2}}{2 c d^2 (b+2 c x)}-\frac{\left (15 \left (b^2-4 a c\right )\right ) \int \sqrt{a+b x+c x^2} \, dx}{64 c^2 d^2}\\ &=-\frac{15 \left (b^2-4 a c\right ) (b+2 c x) \sqrt{a+b x+c x^2}}{256 c^3 d^2}+\frac{5 (b+2 c x) \left (a+b x+c x^2\right )^{3/2}}{32 c^2 d^2}-\frac{\left (a+b x+c x^2\right )^{5/2}}{2 c d^2 (b+2 c x)}+\frac{\left (15 \left (b^2-4 a c\right )^2\right ) \int \frac{1}{\sqrt{a+b x+c x^2}} \, dx}{512 c^3 d^2}\\ &=-\frac{15 \left (b^2-4 a c\right ) (b+2 c x) \sqrt{a+b x+c x^2}}{256 c^3 d^2}+\frac{5 (b+2 c x) \left (a+b x+c x^2\right )^{3/2}}{32 c^2 d^2}-\frac{\left (a+b x+c x^2\right )^{5/2}}{2 c d^2 (b+2 c x)}+\frac{\left (15 \left (b^2-4 a c\right )^2\right ) \operatorname{Subst}\left (\int \frac{1}{4 c-x^2} \, dx,x,\frac{b+2 c x}{\sqrt{a+b x+c x^2}}\right )}{256 c^3 d^2}\\ &=-\frac{15 \left (b^2-4 a c\right ) (b+2 c x) \sqrt{a+b x+c x^2}}{256 c^3 d^2}+\frac{5 (b+2 c x) \left (a+b x+c x^2\right )^{3/2}}{32 c^2 d^2}-\frac{\left (a+b x+c x^2\right )^{5/2}}{2 c d^2 (b+2 c x)}+\frac{15 \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{512 c^{7/2} d^2}\\ \end{align*}
Mathematica [C] time = 0.0519634, size = 97, normalized size = 0.63 \[ -\frac{\left (b^2-4 a c\right )^2 \sqrt{a+x (b+c x)} \, _2F_1\left (-\frac{5}{2},-\frac{1}{2};\frac{1}{2};\frac{(b+2 c x)^2}{b^2-4 a c}\right )}{64 c^3 d^2 (b+2 c x) \sqrt{\frac{c (a+x (b+c x))}{4 a c-b^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.192, size = 961, normalized size = 6.3 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 5.96526, size = 977, normalized size = 6.39 \begin{align*} \left [\frac{15 \,{\left (b^{5} - 8 \, a b^{3} c + 16 \, a^{2} b c^{2} + 2 \,{\left (b^{4} c - 8 \, a b^{2} c^{2} + 16 \, a^{2} c^{3}\right )} x\right )} \sqrt{c} \log \left (-8 \, c^{2} x^{2} - 8 \, b c x - b^{2} - 4 \, \sqrt{c x^{2} + b x + a}{\left (2 \, c x + b\right )} \sqrt{c} - 4 \, a c\right ) + 4 \,{\left (32 \, c^{5} x^{4} + 64 \, b c^{4} x^{3} - 15 \, b^{4} c + 100 \, a b^{2} c^{2} - 128 \, a^{2} c^{3} + 12 \,{\left (b^{2} c^{3} + 12 \, a c^{4}\right )} x^{2} - 4 \,{\left (5 \, b^{3} c^{2} - 36 \, a b c^{3}\right )} x\right )} \sqrt{c x^{2} + b x + a}}{1024 \,{\left (2 \, c^{5} d^{2} x + b c^{4} d^{2}\right )}}, -\frac{15 \,{\left (b^{5} - 8 \, a b^{3} c + 16 \, a^{2} b c^{2} + 2 \,{\left (b^{4} c - 8 \, a b^{2} c^{2} + 16 \, a^{2} c^{3}\right )} x\right )} \sqrt{-c} \arctan \left (\frac{\sqrt{c x^{2} + b x + a}{\left (2 \, c x + b\right )} \sqrt{-c}}{2 \,{\left (c^{2} x^{2} + b c x + a c\right )}}\right ) - 2 \,{\left (32 \, c^{5} x^{4} + 64 \, b c^{4} x^{3} - 15 \, b^{4} c + 100 \, a b^{2} c^{2} - 128 \, a^{2} c^{3} + 12 \,{\left (b^{2} c^{3} + 12 \, a c^{4}\right )} x^{2} - 4 \,{\left (5 \, b^{3} c^{2} - 36 \, a b c^{3}\right )} x\right )} \sqrt{c x^{2} + b x + a}}{512 \,{\left (2 \, c^{5} d^{2} x + b c^{4} d^{2}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{a^{2} \sqrt{a + b x + c x^{2}}}{b^{2} + 4 b c x + 4 c^{2} x^{2}}\, dx + \int \frac{b^{2} x^{2} \sqrt{a + b x + c x^{2}}}{b^{2} + 4 b c x + 4 c^{2} x^{2}}\, dx + \int \frac{c^{2} x^{4} \sqrt{a + b x + c x^{2}}}{b^{2} + 4 b c x + 4 c^{2} x^{2}}\, dx + \int \frac{2 a b x \sqrt{a + b x + c x^{2}}}{b^{2} + 4 b c x + 4 c^{2} x^{2}}\, dx + \int \frac{2 a c x^{2} \sqrt{a + b x + c x^{2}}}{b^{2} + 4 b c x + 4 c^{2} x^{2}}\, dx + \int \frac{2 b c x^{3} \sqrt{a + b x + c x^{2}}}{b^{2} + 4 b c x + 4 c^{2} x^{2}}\, dx}{d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]